﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace BRM.GUI
{
    public partial class SplashScreen : DevExpress.XtraEditors.XtraForm
    {
        public SplashScreen()
        {
            InitializeComponent();
            timer1.Enabled = true;
            timer2.Enabled = true;
            progressBarControl1.Properties.Maximum = 30;
           
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            MainForm MainForm = new MainForm();
            MainForm.Show();
            timer1.Stop();
            this.Dispose(false);
        }

        private void timer2_Tick(object sender, EventArgs e)
        {
            progressBarControl1.Position += 1;
        }

        private void labelControl1_Click(object sender, EventArgs e)
        {

        }
    }
}